Skip to main content
The Video Slice node allows you to extract a specific segment from a video. You can define a start time and a duration to trim the video, or simply skip the beginning frames. If the requested duration is longer than the remaining video, the node can either return what’s available or raise an error.

Inputs

ParameterDescriptionData TypeRequiredRange
videoThe input video to be sliced.VIDEOYes-
start_timeStart time in seconds (default: 0.0).FLOATNo-1e5 to 1e5
durationDuration in seconds, or 0 for unlimited duration (default: 0.0).FLOATNo0.0 and above
strict_durationIf True, when the specified duration is not possible, an error will be raised (default: False).BOOLEANNo-

Outputs

Output NameDescriptionData Type
videoThe trimmed video segment.VIDEO
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/Video Slice/en.md)

Source fingerprint (SHA-256): 077fadd65af9d546155d2bbb736148ce2c87810a16a76d9259b38f1b6ab6a1a3